import type { FormSchema } from '@/components/core/schema-form/';

export const deptHandledSchemas: FormSchema[] = [
  {
    field: 'name',
    component: 'Input',
    label: '姓名',
    rules: [{ required: false, type: 'string' }],
    colProps: {
      span: 13,
    },
  },
  {
    field: 'telephone',
    component: 'Input',
    label: '联系方式',
    rules: [{ required: true, type: 'string' }],
    colProps: {
      span: 13,
    },
  },
  {
    field: 'deptId',
    component: 'Input',
    componentProps: {
      hidden: true
    },
  },
];

